Java Image Processing Recipes by Nicolas Modrzyk

Java Image Processing Recipes by Nicolas Modrzyk

Author:Nicolas Modrzyk
Language: eng
Format: epub, pdf
Publisher: Apress, Berkeley, CA


Adaptive threshold is usually used in recipe 2-8 with blurring techniques that we will study very shortly.

2.7 Applying Simple Masking Techniques

Problem

Masks can be used in a variety of situations where you want to apply mat functions only to a certain part of a mat.

You would like to know how to create masks and how to put them into action.

Solution

We will review again the use of in-range to create masks based on colors.

Then, we will use copy-to and bitwise- to apply functions on the main mat, but only on pixels selected by the mask.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.